export default [
  {
    name: "pay",
    path: "pay",
    component: () => import("@/pages/staticPages/pay/index.vue"),
    children: [
      {
        name: "payment",
        path: "payment",
        component: () => import("../pages/staticPages/pay/payMent/index.vue"),
      },
      {
        name: "paysuccess",
        path: "paysuccess",
        component: () =>
          import("../pages/staticPages/pay/paySuccess/index.vue"),
      },
      {
        name: "payfail",
        path: "payfail",
        component: () => import("../pages/staticPages/pay/payFail/index.vue"),
      },
    ],
  },
  {
    name: "preorder",
    path: "preorder",
    component: () => import("../pages/staticPages/preOrder/index.vue"),
  },
  {
    //.通配符，*可以出现多次
    path: "/:catch(.*)",
    component: () => import("../pages/staticPages/page404/index.vue"),
  },
];
